package simulation;

/**
 * Authors: Kyle Martin
 * Purpose: Represents a weather event.  Stores type, time and duration.  May not be 
 * modified by user.
 * Version 2
 * Last updated: 11/15/11
 * Tested by:
 * Tested on:
 */
enum WeatherType{
	RAIN, WIND, SNOW, SNOW_5, SNOW_10, SUN;
}

public class Weather extends Event{
	private int time; //minutes
	private WeatherType type;
	
	//Constructors
	public Weather(int t, WeatherType w){
		this.time = t;
		this.type = w;
	}
	
	//Setter methods
//	public void setEventTime(Timestamp time)
//	{
//		this.time = time;
//	}
	
	//Getter methods
	public int getEventTime()
	{
		return time;
	}
	public WeatherType getType(){
		return type;
	}
}
